<!DOCTYPE html>
<html lang="en">
<head>
    <!--<meta charset="UTF-8">-->
    <title>appen()的演示</title>
    <script src="/jquery-3.2.1.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("button").click(function () {
                $("#id1").append("<li>追加的格式</li>")
            });
        });
    </script>
</head>
<body>
<ol id="id1">
    <li>列表一</li>
    <li>列表二</li>
    <li>列表三</li>
    <li>列表四</li>
</ol>
<button type="button">添加一行数据</button>
</body>
</html>